package com.caifu.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * ClassName : UserInfoHistory
 *
 * @author :  yb
 * @description ：
 * @date : 2021-02-07 13:22
 */
@Data
@TableName(value = "user_info_history")
public class UserInfoHistory {

    @TableId(value = "id", type = IdType.AUTO)
    private String id;


    private String userNo;

    private String userName;

    private String oldBelongOrganization;

    private String newBelongOrganization;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(exist = false)
    private String oldBelongOrganizationName;

    @TableField(exist = false)
    private String newBelongOrganizationName;

}
